package com.hangkong.service;

import com.hangkong.model.BackResult;
import com.hangkong.model.tuser;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * Created by Administrator on 2017/9/5.
 */
public interface showUserService {
    List<tuser> getallUser();
    Integer deleteUser(String id);

    List<tuser> user_query(String select_name);

    void update_user(String id, String username, String password);

    tuser showItem(String id);

    BackResult checkphone(String phone);

    BackResult saveuser(String name, String email, String phone);

    BackResult loginuser(String name, String pwd, HttpServletRequest request, HttpServletResponse response);
}
